package com.sanley.piss.web;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.WebApplicationType;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

/**
 * @author limk
 * @date 2020/12/5 22:30
 */
@MapperScan("com.sanley.piss")
@SpringBootApplication
@EnableSwagger2
public class SinopecWebApplication {

    public static void main(String[] args) {
        new SpringApplicationBuilder(SinopecWebApplication.class)
                .web(WebApplicationType.SERVLET)
                .run(args);
    }

}
